package com.movitech.mobile.cz.base.supplier.service.impl;

import com.movitech.mobile.cz.base.supplier.entity.SSuppliersInspectionItems;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSSuppliersInspectionItems;
import com.movitech.mobile.cz.base.supplier.mapper.SSuppliersInspectionItemsMapper;
import com.movitech.mobile.cz.base.supplier.mapper.ext.ExtSSuppliersInspectionItemsMapper;
import com.movitech.mobile.cz.base.supplier.service.SSuppliersInspectionItemsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供方考察报告-考察分项评审意见 服务实现类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-08-31
 */
@Service
public class SSuppliersInspectionItemsServiceImpl extends ServiceImpl<SSuppliersInspectionItemsMapper, SSuppliersInspectionItems> implements SSuppliersInspectionItemsService {
    @Autowired
    private ExtSSuppliersInspectionItemsMapper extSSuppliersInspectionItemsMapper;
    @Override
    public List<ExtSSuppliersInspectionItems> getParentAndChildsByInspectId(String pectId) {
        return extSSuppliersInspectionItemsMapper.getParentAndChildsByInspectId(pectId);
    }
}
